package com.ruoyi.finance.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class PaymentVoucherVo {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String paymentVoucherId;

    /** 付款单号*/
    private String paymentVoucherCode;

    /** 采购单号ID（关联：tb_payment_request）*/
    private String procuredOrderId;

    /** 申请ID（关联：tb_payment_request）*/
    private String paymentRequestId;

    /** 付款单状态：0未核准，1未过账，2已过账*/
    private String paymentVoucherStatus;

    /** 付款单类型：0采购应付款，1采购预付款*/
    private String paymentVoucherType;

    /** 申请金额*/
    private BigDecimal paymentVoucherAmountDue;

    /** 付款备注*/
    private String paymentVoucherRemark;

    /** 创建人*/
    private String createBy;

    /** 创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 核准人*/
    private String approvedBy;

    /** 核准时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date approvedTime;

    /** 更新人*/
    private String updateBy;

    /** 更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 过账人*/
    private String postingBy;

    /** 过账时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date postingTime;

    /** 水单*/
    private String waterBillImg;
    /** 水单表*/
    private String waterReceiptId;
    /** 驳回备注*/
    private String rejectRemark;
    /** 采购订单号*/
    private String ordersNumber;
    /** 申请单号*/
    private String paymentRequestCode;
    /** 货币*/
    private String monetaryName;
    private String vendorName;
    private String vendorBankCards;
    /** 关联申请单号*/
    private String relatedCodes;
    /** 关联申请单号信息*/
    private String relatedCodesInfo;

    /** 是否撤回，0否，1是*/
    private String deleteStatus;
    /** 撤回备注*/
    private String revokeRemark;

    private String paymentMasterId;

    /** 查询主键 */
    private List<String> masterIds;

    /** 付款单状态*/
    private String paymentMasterStatus;

    private String vendorAttribute;

    /** 查询参数*/
    private String unknown;
    private String select;
    /** 供应商ID（关联：tb_vendor）*/
    private String vendorId;
    /**
     * 起始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    public PaymentVoucherVo(){
    }

}
